package com.kaka.bus.bean;

import java.util.List;

/**
 * Created by OnionMac on 2018/1/13.
 */

public class BorrowDeteil {


    /**
     * code : 200
     * data : {"borrId":"37","planList":[{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":6,"isRun":0,"overdueDays":1,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1516182775000,"rundate":"19700101","status":3,"surplusPenalty":0,"surplusRentalAmount":0,"term":1,"updateDate":1516333618000,"version":0},{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":7,"isRun":0,"overdueDays":0,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1516787575000,"rundate":"19700101","status":2,"surplusPenalty":0,"surplusRentalAmount":0,"term":2,"updateDate":1516334534000,"version":0},{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":8,"isRun":0,"overdueDays":0,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1517392375000,"rundate":"19700101","status":0,"surplusPenalty":0,"surplusRentalAmount":200,"term":3,"updateDate":1516105985000,"version":0},{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":9,"isRun":0,"overdueDays":0,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1517997175000,"rundate":"19700101","status":0,"surplusPenalty":0,"surplusRentalAmount":200,"term":4,"updateDate":1516105985000,"version":0}],"surplusAmount":0,"termNum":4}
     * info : 成功
     */


        /**
         * borrId : 37
         * planList : [{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":6,"isRun":0,"overdueDays":1,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1516182775000,"rundate":"19700101","status":3,"surplusPenalty":0,"surplusRentalAmount":0,"term":1,"updateDate":1516333618000,"version":0},{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":7,"isRun":0,"overdueDays":0,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1516787575000,"rundate":"19700101","status":2,"surplusPenalty":0,"surplusRentalAmount":0,"term":2,"updateDate":1516334534000,"version":0},{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":8,"isRun":0,"overdueDays":0,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1517392375000,"rundate":"19700101","status":0,"surplusPenalty":0,"surplusRentalAmount":200,"term":3,"updateDate":1516105985000,"version":0},{"contractId":37,"contractType":"借款用途1","creationDate":1516105985000,"creationUser":9999,"extension":0,"id":9,"isRun":0,"overdueDays":0,"penalty":0,"penaltyRate":0.01,"rentalAmount":200,"repayDate":1517997175000,"rundate":"19700101","status":0,"surplusPenalty":0,"surplusRentalAmount":200,"term":4,"updateDate":1516105985000,"version":0}]
         * surplusAmount : 0
         * termNum : 4
         */

        private String borrId;
        private String surplusAmount;
        private String termNum;
        private List<PlanListBean> planList;
        private String borrStatus;
        private String depositAmount;
        private int earlySettlement;
        private String ransomAmount;
        private String contractUrl;
        private int overdueDays;

    public int getEarlySettlement() {
        return earlySettlement;
    }

    public void setEarlySettlement(int earlySettlement) {
        this.earlySettlement = earlySettlement;
    }

    public int getOverdueDays() {
        return overdueDays;
    }

    public void setOverdueDays(int overdueDays) {
        this.overdueDays = overdueDays;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

        public String getBorrStatus() {
            return borrStatus;
        }

        public void setBorrStatus(String borrStatus) {
            this.borrStatus = borrStatus;
        }


        public String getDepositAmount() {
            return depositAmount;
        }

        public void setDepositAmount(String depositAmount) {
            this.depositAmount = depositAmount;
        }


        public String getRansomAmount() {
            return ransomAmount;
        }

        public void setRansomAmount(String ransomAmount) {
            this.ransomAmount = ransomAmount;
        }

        public String getBorrId() {
            return borrId;
        }

        public void setBorrId(String borrId) {
            this.borrId = borrId;
        }

        public String getSurplusAmount() {
            return surplusAmount;
        }

        public void setSurplusAmount(String surplusAmount) {
            this.surplusAmount = surplusAmount;
        }

        public String getTermNum() {
            return termNum;
        }

        public void setTermNum(String termNum) {
            this.termNum = termNum;
        }

        public List<PlanListBean> getPlanList() {
            return planList;
        }

        public void setPlanList(List<PlanListBean> planList) {
            this.planList = planList;
        }

        public static class PlanListBean {
            /**
             * contractId : 37
             * contractType : 借款用途1
             * creationDate : 1516105985000
             * creationUser : 9999
             * extension : 0
             * id : 6
             * isRun : 0
             * overdueDays : 1
             * penalty : 0.0
             * penaltyRate : 0.01
             * rentalAmount : 200.0
             * repayDate : 1516182775000
             * rundate : 19700101
             * status : 3
             * surplusPenalty : 0.0
             * surplusRentalAmount : 0.0
             * term : 1
             * updateDate : 1516333618000
             * version : 0
             */

            private int contractId;
            private String contractType;
            private long creationDate;
            private int creationUser;
            private int extension;
            private int id;
            private int isRun;
            private int overdueDays;
            private double penalty;
            private double penaltyRate;
            private double rentalAmount;
            private long repayDate;
            private String rundate;
            private double paidAmount;
            private int status;
            private double surplusPenalty;
            private double surplusRentalAmount;
            private int term;
            private long updateDate;
            private int version;
            private int isLast;
            private double surplusAmount;

            public double getPaidAmount() {
                return paidAmount;
            }

            public void setPaidAmount(double paidAmount) {
                this.paidAmount = paidAmount;
            }

            public int getIsLast() {
                return isLast;
            }

            public void setIsLast(int isLast) {
                this.isLast = isLast;
            }

            public double getSurplusAmount() {
                return surplusAmount;
            }

            public void setSurplusAmount(double surplusAmount) {
                this.surplusAmount = surplusAmount;
            }

            public int getContractId() {
                return contractId;
            }

            public void setContractId(int contractId) {
                this.contractId = contractId;
            }

            public String getContractType() {
                return contractType;
            }

            public void setContractType(String contractType) {
                this.contractType = contractType;
            }

            public long getCreationDate() {
                return creationDate;
            }

            public void setCreationDate(long creationDate) {
                this.creationDate = creationDate;
            }

            public int getCreationUser() {
                return creationUser;
            }

            public void setCreationUser(int creationUser) {
                this.creationUser = creationUser;
            }

            public int getExtension() {
                return extension;
            }

            public void setExtension(int extension) {
                this.extension = extension;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIsRun() {
                return isRun;
            }

            public void setIsRun(int isRun) {
                this.isRun = isRun;
            }

            public int getOverdueDays() {
                return overdueDays;
            }

            public void setOverdueDays(int overdueDays) {
                this.overdueDays = overdueDays;
            }

            public double getPenalty() {
                return penalty;
            }

            public void setPenalty(double penalty) {
                this.penalty = penalty;
            }

            public double getPenaltyRate() {
                return penaltyRate;
            }

            public void setPenaltyRate(double penaltyRate) {
                this.penaltyRate = penaltyRate;
            }

            public double getRentalAmount() {
                return rentalAmount;
            }

            public void setRentalAmount(double rentalAmount) {
                this.rentalAmount = rentalAmount;
            }

            public long getRepayDate() {
                return repayDate;
            }

            public void setRepayDate(long repayDate) {
                this.repayDate = repayDate;
            }

            public String getRundate() {
                return rundate;
            }

            public void setRundate(String rundate) {
                this.rundate = rundate;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public double getSurplusPenalty() {
                return surplusPenalty;
            }

            public void setSurplusPenalty(double surplusPenalty) {
                this.surplusPenalty = surplusPenalty;
            }

            public double getSurplusRentalAmount() {
                return surplusRentalAmount;
            }

            public void setSurplusRentalAmount(double surplusRentalAmount) {
                this.surplusRentalAmount = surplusRentalAmount;
            }

            public int getTerm() {
                return term;
            }

            public void setTerm(int term) {
                this.term = term;
            }

            public long getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(long updateDate) {
                this.updateDate = updateDate;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

    }
}
